<template>
  <div>
    <NavHead>
      <template v-slot:iconfont-left>
        <i class="iconfont icon-arrowLeft arrow" @click="$router.back()"></i>
      </template>
      <template v-slot:title>
        <p class="confirm">订单确认</p>
      </template>
      <template v-slot:iconfont-right>
        <i class="iconfont icon-shanchu point"></i>
      </template>
    </NavHead>
    <div class="box">
      <div class="box1">
        <div class="dress">
          <p>收货人：赵先生</p>
          <p>收获地址：北京市昌平区回龙观</p>
        </div>
        <div class="phone">
          <p>18322202220</p>
          <p>></p>
        </div>
      </div>
      <div class="product">
        <div class="circle"></div>
        <div class="pic">
          <img src="../../assets/image/01.jpg" alt="" />
        </div>
        <div class="desc">
          <p>雅阁沙发</p>
          <p>¥1299</p>
          <div class="num"><span>-</span><span>4</span><span>+</span></div>
        </div>
      </div>
      <div class="box2">
        <div class="zuo">
          <p>店铺优惠</p>
          <p>配送方式</p>
        </div>
        <div class="you">
          <p>满100包邮</p>
          <p>快递免邮</p>
        </div>
      </div>
      <div class="box3">
        <div class="sum1">
          <p>合计 :
            <span>100.00</span>
          </p>
        </div>
        <div class="gives" @click="jumpOrderStore">
           <div class="give">
          <p>提交订单</p>
        </div>
        </div>
       
      </div>
    </div>
  </div>
</template>

<script>
import NavHead from "../../components/NavHead";

export default {
  name: "ConfirmOrder",
  components: {
    NavHead,
  },
  methods:{
    jumpOrderStore(){
      this.$router.push({name:'OrderStore'})
    }
  }
};
</script>

<style scoped>
.arrow {
  color: #fff;
  margin-top: 0.3rem;
}
.point {
  color: #fff;
  font-size: 0.58rem;
}
.confirm {
  color: white;
  font-size: 0.38rem;
}
.box {
  margin-top: 1.4rem;
}
.product {
  background-color: white;
  height: 2rem;
  width: 95%;
  margin: 0.2rem auto;
  display: flex;
  box-sizing: border-box;
}
.circle {
  width: 0.2rem;
  height: 0.2rem;
  border: 2px solid rgb(59, 57, 57);
  border-radius: 50%;
  margin: 0.7rem 0.2rem;
}
.pic img {
  height: 1.5rem;
  width: 2rem;
  margin-top: 0.25rem;
  flex: 3;
}
.desc {
  position: relative;
  margin-top: 0.6rem;
  flex: 6.5;
}
.desc p {
  text-align: left;
  margin-left: 0.2rem;
  font-size: 0.28rem;
}

.num {
  position: absolute;
  right: 0;
  bottom: 0.8rem;
}
.num span {
  padding: 0 0.1rem;
}

.box .box1 {
  /* width: 95%; */
  /* margin: 0.2rem auto; */
  height: 1.5rem;
  background-color: white;
  display: flex;
  align-items: center;
}
.box1 .dress {
  flex: 3;
  margin-left: 0.2rem;
}
.box1 .dress p {
  font-size: 0.28rem;
  text-align: left;
}
.box1 .phone {
  flex: 2;
  font-size: 0.28rem;
  text-align: right;
  margin-right: 0.2rem;
}
.box2 {
  display: flex;
  margin: 0.2rem auto;
  margin-top: 0.5rem;
  width: 95%;
}
.zuo {
  flex: 1;
}
.zuo p {
  font-size: 0.28rem;
  margin-bottom: 0.5rem;
  text-align: left;
}
.you {
  flex: 1;
}
.you p {
  font-size: 0.28rem;
  margin-bottom: 0.5rem;
  text-align: right;
}
.box3 {
  width: 100%;
  height: 1rem;
  position: fixed;
  bottom: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  }
.sum1{
  height: 100%;
  flex: 7;
  margin-top: .5rem;
}
.sum1 p{
    margin-right: 0.3rem;
    text-align: right;
    font-size: 0.32rem;
    margin-bottom: .5 rem;
}
.sum1 span{
  color: red;
}
.gives{
  height: 100%;
  background-color: tomato;
  flex: 3;

}
.give{
  height: 100%;
  width: 100%;
  margin-top: 0.3rem;
}
.give p{
  font-size: 0.32rem;
  color: white;
}

</style>